#pragma once

#ifdef __QT5_TARGET

#include <QtCore/QDateTime>

#else

#include <QDateTime>

#endif

#include "korlapadmin_model_global.h"
//#include "Patient.h"
class KORLAPADMIN_MODEL_EXPORT Visit
{
public:
	Visit(void);
	Visit(unsigned int id,unsigned int patient_id, QDateTime date,bool follow_up,bool finished);
	~Visit(void);
	unsigned int getVisitId();
	QDateTime getVisitDate();
	bool isFinished();
	bool isEdited(){return this->edited;}
	void setEdited(bool e){this->edited = e;}
	unsigned int getPatientId();
private:
	unsigned int visit_id;
	unsigned int patient_id;
	//Patient* patient;
	QDateTime visit_date;
	QString chief_complaints;
	short pulse;
	QString BP;
	short resp;
	float temp;
	float height;
	float weight;
	float bmi;
	float waist_circ;
	QString change;
	QString change_in_screen;
	QString previous_medication;
	QString reviewing;
	QString diagnosis;
	QString descript;
	QString prescription;
	bool management_plan_explained;
	bool results_discussed;
	bool expl_pationt_cond;
	bool his_cad_exp;
	bool edu_unstable_situ;
	bool edu_hypoglycaemia;
	bool bp_monitoring_requested;
	bool monitoring_bs_requested;
	bool lifestyle_advises;
	bool diabetic_diet;
	bool dash_diet;
	bool weight_loss;
	bool hisgh_potassium_containing_diet;
	bool reg_exercise_weight_loss;
	bool quit_smoking;
	bool increase_hdl_cholesterol;
	bool lipid_lowering_therapy;
	bool side_effects_explained;
	bool adherence_explained;
	QString addendum;
	bool followUp;
	bool finished;
	bool edited;
	bool default_visit;
};
